package org.example.service.impl;

import lombok.RequiredArgsConstructor;
import org.example.domain.ResponseResult;
import org.example.mapper.TagMapper;
import org.example.service.TagService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class TagServiceImpl implements TagService {

    private final TagMapper tagMapper;

    @Override
    public ResponseResult list() {
        return ResponseResult.okResult(tagMapper.list());
    }
}
